package com.sangu.dianxiu.bean.repairer;

import java.io.Serializable;
import java.util.List;

/**
 * 获取附近师傅类
 * Created by sg2 on 2016/1/12.
 */
public class AroundMasterEntity implements Serializable{


    /**
     * rc : 0
     * repairers : [{"id":25,"name":"mao","field":"水工","lon":1,"lat":1}]
     */

    private int rc;
    /**
     * id : 25
     * name : mao
     * field : 水工
     * lon : 1
     * lat : 1
     */

    private List<RepairersEntity> repairers;

    public void setRc(int rc) {
        this.rc = rc;
    }

    public void setRepairers(List<RepairersEntity> repairers) {
        this.repairers = repairers;
    }

    public int getRc() {
        return rc;
    }

    public List<RepairersEntity> getRepairers() {
        return repairers;
    }

    public static class RepairersEntity implements Serializable{
        private int id;
        private String name;
        private String field;
        private int lon;
        private int lat;

        public void setId(int id) {
            this.id = id;
        }

        public void setName(String name) {
            this.name = name;
        }

        public void setField(String field) {
            this.field = field;
        }

        public void setLon(int lon) {
            this.lon = lon;
        }

        public void setLat(int lat) {
            this.lat = lat;
        }

        public int getId() {
            return id;
        }

        public String getName() {
            return name;
        }

        public String getField() {
            return field;
        }

        public int getLon() {
            return lon;
        }

        public int getLat() {
            return lat;
        }
    }
}
